package com.wmh.baseservice.user.service;

import com.wmh.baseservice.user.pojo.UsRentOrder;
import com.wmh.baseservice.common.mybatisplus.methods.CommonService;

import java.util.List;

/**
 * @author wmh generator
 * @since 2022-02-25
 */
public interface UsRentOrderService extends CommonService<UsRentOrder> {

    /**
     * 租赁订单取消
     */
    void cancelOrder(Long value);

    /**
     * 查询当前有承租我土地的订单(不包括续租)
     */
    List<UsRentOrder> queryMyRentOrder(Long id);

    /**
     * 查询短时间内是否有订单
     */
    int queryShortOrder(Long usId);

}
